﻿<%@ Page Title="Membership Sign Up" Language="C#" MasterPageFile="~/Site.Master"
    AutoEventWireup="true" CodeBehind="SignUp.aspx.cs" Inherits="CoastalClimbing.SignUp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="Scripts/jquery.maskedinput-1.2.2.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#<%=txtBirthDate.ClientID%>").mask("99/99/9999");
            $("#<%=txtPhone.ClientID%>").mask("(999) 999-9999");
            $("#<%=txtEmergencyContactPhone.ClientID%>").mask("(999) 999-9999");
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <span class="thirtyWhite">Sign Up</span>
    <%--<span class="thirtyWhite">Sorry for the inconvenience but the pre-sale sign up is temporarily
        down. It will be back up tomorrow morning though, so check back then!</span>--%>
    <br />
    <br />
    <table>
        <tr>
            <td>
                First name:
            </td>
            <td>
                <asp:TextBox ID="txtFirstName" runat="server" MaxLength="100" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtFirstName"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Last name:
            </td>
            <td>
                <asp:TextBox ID="txtLastName" runat="server" MaxLength="100" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="txtLastName"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Street address:
            </td>
            <td>
                <asp:TextBox ID="txtStreetAddress" runat="server" MaxLength="100" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" ControlToValidate="txtStreetAddress"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                City:
            </td>
            <td>
                <asp:TextBox ID="txtCity" runat="server" MaxLength="100" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txtCity"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                State:
            </td>
            <td>
                <asp:TextBox ID="txtState" runat="server" MaxLength="2" Width="25" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator11" runat="server" ErrorMessage="*" ControlToValidate="txtState"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Zip code:
            </td>
            <td>
                <asp:TextBox ID="txtZipCode" runat="server" MaxLength="5" Width="75" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*"
                    Display="Dynamic" ControlToValidate="txtZipCode" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Phone:
            </td>
            <td>
                <asp:TextBox ID="txtPhone" runat="server" MaxLength="14" Width="100" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator6" runat="server" ErrorMessage="*" ControlToValidate="txtPhone"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Email:
            </td>
            <td>
                <asp:TextBox ID="txtEmailAddress" runat="server" MaxLength="100" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator7" runat="server" ErrorMessage="*" ControlToValidate="txtEmailAddress"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Birthdate:
            </td>
            <td>
                <asp:TextBox ID="txtBirthDate" runat="server" MaxLength="10" Width="75" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator8" runat="server" ErrorMessage="*" ControlToValidate="txtBirthDate"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Emergency contact:
            </td>
            <td>
                <asp:TextBox ID="txtEmergencyContact" runat="server" MaxLength="100" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator9" runat="server" ErrorMessage="*" ControlToValidate="txtEmergencyContact"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Emergency contact phone:
            </td>
            <td>
                <asp:TextBox ID="txtEmergencyContactPhone" runat="server" MaxLength="15" Width="100" /><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator10" runat="server" ErrorMessage="*" ControlToValidate="txtEmergencyContactPhone"
                    Display="Dynamic" ForeColor="#ffd80b"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <asp:Button ID="btnSubmit" runat="server" Text="sign up" OnClick="btnSubmit_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
